package com.pcbly.web.persistence.user;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/
import com.pcbly.web.bean.user.UserRelationBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface UserRelationDao extends BaseDao<UserRelationBean> {  
	
	void removeUserRelationBeanByIds(String ids) throws Exception;
	
	void removeUserRelationBeanById(String id) throws Exception;
	
	UserRelationBean saveUserRelationBean(UserRelationBean user) throws Exception;
	
	Page<UserRelationBean>  findUserRelationBeanByCond(UserRelationBean bean,
			Page<UserRelationBean> page, String orderByName, boolean asc)
			throws Exception;
}